package com.jason.reflect.bean;

import java.io.InputStream;
import java.util.List;

/**
 * @Author: Jason
 * @Date: 16/4/7
 * @Time: 22:29
 */
public class Person {

    public String name = "json";

    public Person() {
        System.out.println("person 构造方法");
    }

    public Person(String name) {
        System.out.println(name);
    }


    public Person(String name, int password) {
        System.out.println(name +"----"+ password);

    }

    private Person(List list) {
        System.out.println("list");
    }

    public  void aa1() {
        System.out.println("aa1");
    }

    public void aa1(String name, int password) {
        System.out.println(name + ":" + password);
    }

    public Class[] aa1(String name, int[] password) {

        return new Class[]{String.class};
    }

    private void aa1(InputStream inputStream) {
        System.out.println(inputStream);
    }

    public static void aa1(int num) {
        System.out.println(num);
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                '}';
    }
}
